package org.simalliance.openmobileapi;


import java.io.IOException;

public class Reader {


    private SEService mService;
    private android.se.omapi.Reader mReader;

    Reader(android.se.omapi.Reader reader, SEService service) {
        mReader = reader;
        mService = service;
    }

    public void closeSessions() {
        mReader.closeSessions();
    }

    public String getName() {
        return mReader.getName();

    }

    public SEService getSEService() {
        return mService;
    }

    public boolean isSecureElementPresent() {
        return mReader.isSecureElementPresent();
    }

    public Session openSession() throws IOException {


        return new Session(mReader.openSession(), this);
    }


}

